package bma.common.langutil.objrouter.impl;

import java.util.Map;

public class SingletonObjRouter extends BaseObjRouter {

	public SingletonObjRouter(){
		
	}
	
	public SingletonObjRouter(Object obj){
		object = obj;
	}
	
	private Object object;
	
	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	@Override
	public Object dispath(Map<String, Object> options) {
		
		return object;
	}

}
